package com.wintop.youyuan.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "detaildata")
public class DetailData {// 详细资料表
	private int id;
	private String userid;
	private int ischildren;// 是否想要小孩
	private int distanceLove;// 是否接受异地恋
	private int loveType;// 喜欢异性类型
	private int premaritalSex;// 是否接受婚前性行为
	private int liveWithParents;// 是否愿意与父母同住
	private int charm;// 最有魅力的地方
	private String hobby;// 兴趣爱好
	private String personality;// 个性特征
	private String soliloquy;// 内心独白
	private String honest;// 诚信认证

	@Id
	@GeneratedValue
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public int getIschildren() {
		return ischildren;
	}

	public void setIschildren(int ischildren) {
		this.ischildren = ischildren;
	}

	public int getDistanceLove() {
		return distanceLove;
	}

	public void setDistanceLove(int distanceLove) {
		this.distanceLove = distanceLove;
	}

	public int getLoveType() {
		return loveType;
	}

	public void setLoveType(int loveType) {
		this.loveType = loveType;
	}

	public int getPremaritalSex() {
		return premaritalSex;
	}

	public void setPremaritalSex(int premaritalSex) {
		this.premaritalSex = premaritalSex;
	}

	public int getLiveWithParents() {
		return liveWithParents;
	}

	public void setLiveWithParents(int liveWithParents) {
		this.liveWithParents = liveWithParents;
	}

	public int getCharm() {
		return charm;
	}

	public void setCharm(int charm) {
		this.charm = charm;
	}

	public String getHobby() {
		return hobby;
	}

	public void setHobby(String hobby) {
		this.hobby = hobby;
	}

	public String getPersonality() {
		return personality;
	}

	public void setPersonality(String personality) {
		this.personality = personality;
	}

	public String getSoliloquy() {
		return soliloquy;
	}

	public void setSoliloquy(String soliloquy) {
		this.soliloquy = soliloquy;
	}

	public String getHonest() {
		return honest;
	}

	public void setHonest(String honest) {
		this.honest = honest;
	}

	public DetailData() {
		super();
		// TODO Auto-generated constructor stub
	}

	public DetailData(int id, String userid, int ischildren, int distanceLove,
			int loveType, int premaritalSex, int liveWithParents, int charm,
			String hobby, String personality, String soliloquy, String honest) {
		super();
		this.id = id;
		this.userid = userid;
		this.ischildren = ischildren;
		this.distanceLove = distanceLove;
		this.loveType = loveType;
		this.premaritalSex = premaritalSex;
		this.liveWithParents = liveWithParents;
		this.charm = charm;
		this.hobby = hobby;
		this.personality = personality;
		this.soliloquy = soliloquy;
		this.honest = honest;
	}

	@Override
	public String toString() {
		return "DetailData [id=" + id + ", userid=" + userid + ", ischildren="
				+ ischildren + ", distanceLove=" + distanceLove + ", loveType="
				+ loveType + ", premaritalSex=" + premaritalSex
				+ ", liveWithParents=" + liveWithParents + ", charm=" + charm
				+ ", hobby=" + hobby + ", personality=" + personality
				+ ", soliloquy=" + soliloquy + ", honest=" + honest + "]";
	}

}
